import http from '@/utils/http';



/**
 * 获取系统用户列表
 * @param params
 * @returns {*|Promise<any>}
 */
export const getUserList = (params?: any) => {
  return http.get('bus/user/list', {params});
}

export const getParentUser = (params?: any) => {
  return http.get('bus/user/getParentUser', {params});
}




/**
 * 保存修改区域信息
 * @param params
 * @returns {*|Promise<any>}
 */
export const updateUser = (params: any) => {
  return http.put('bus/user/edit', params);
}
